package org.spring.springboot.app.adv.advscreeninfo.dao;

import org.apache.ibatis.annotations.Param;
import org.spring.springboot.app.adv.advscreeninfo.domain.po.AdvScreenInfoPO;
import org.spring.springboot.app.adv.advscreeninfo.domain.vo.AdvScreenInfoSearchVO;

import java.util.List;

public interface AdvScreenInfoDao {
    int deleteByPrimaryKey(String id);

    int insert(AdvScreenInfoPO record);

    int insertSelective(AdvScreenInfoPO record);

    AdvScreenInfoPO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(AdvScreenInfoPO record);

    int updateByPrimaryKey(AdvScreenInfoPO record);

    List<AdvScreenInfoPO> findPage(AdvScreenInfoSearchVO searchVO, @Param("pageNum") int pageNum, @Param("pageSize") int pageSize);

    List<AdvScreenInfoPO> queryListByComb(String advCombId, int reward);
}